package com.hnit.applet.entity;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.hnit.applet.common.model.DataEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;
import java.util.Date;

/**
 * @author zwj
 * @date 2022/7/7
 * @description TODO
 */


@ApiModel(value = "维度基础信息表",description = "")
@TableName("base_dim")
@Data
public class BaseDim  implements Serializable,Cloneable{
    /** id */
    @ApiModelProperty(name = "id",notes = "")
    @TableId
    private String dimId ;

    /**  */
    @ApiModelProperty(name = "",notes = "null")
    private String propCode ;
    /**  */
    @ApiModelProperty(name = "",notes = "null")
    private String propName ;
    /** 排序 */
    @ApiModelProperty(name = "排序",notes = "")
    private Integer propSort ;
    /** 父节点id */
    @ApiModelProperty(name = "父节点id",notes = "")
    private String pDimId ;
    /** 有效开始日期 */
    @ApiModelProperty(name = "有效开始日期",notes = "")
    private Date beginDate ;
    /** 有效结束日期 */
    @ApiModelProperty(name = "有效结束日期",notes = "")
    private Date endDate ;
    /** 备注 */
    @ApiModelProperty(name = "备注",notes = "")
    private String description ;
    /** 售电公司名称 */
    @ApiModelProperty(name = "售电公司名称",notes = "")
    private String orgName ;
    /** 售电公司组织code */
    @ApiModelProperty(name = "售电公司组织code",notes = "")
    private String orgCode ;
    /** 层级 */
    @ApiModelProperty(name = "层级",notes = "")
    private String level ;
    /** 上级组织编码 */
    @ApiModelProperty(name = "上级组织编码",notes = "")
    private String pOrgCode ;
    /** 是否启用;0:否 1:是 */
    @ApiModelProperty(name = "是否启用",notes = "0:否 1:是")
    private String enableApplets ;
    /** 统一社会信用代码 */
    @ApiModelProperty(name = "统一社会信用代码",notes = "")
    private String socialCode ;

    @Override
    public BaseDim clone() {
        try {
            // TODO: copy mutable state here, so the clone can't change the internals of the original
            return (BaseDim) super.clone();
        } catch (CloneNotSupportedException e) {
            throw new AssertionError();
        }
    }
}